package com.fpx.open.platform.domain.ae.closeorder;


import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import com.fpx.open.platform.domain.ae.multistage.linehual.Trade;

@XmlRootElement(name = "closeRequest")
@XmlType(propOrder = { "logisticsOrderCode","carrierCode","transportCode","trade","trackingNumber","remark" })
public class OrderCloseNotify {
	
	@NotNull
	@Valid
    private String logisticsOrderCode;

    private String carrierCode;
    
    private String transportCode;
    
    private Trade trade;
    
    @NotNull
    @Valid
    private String trackingNumber;

    private String remark;
    

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

	public String getLogisticsOrderCode() {
		return logisticsOrderCode;
	}

	public void setLogisticsOrderCode(String logisticsOrderCode) {
		this.logisticsOrderCode = logisticsOrderCode;
	}

	public String getCarrierCode() {
		return carrierCode;
	}

	public void setCarrierCode(String carrierCode) {
		this.carrierCode = carrierCode;
	}

	public String getTransportCode() {
		return transportCode;
	}

	public void setTransportCode(String transportCode) {
		this.transportCode = transportCode;
	}
 
	public Trade getTrade() {
		return trade;
	}

	public void setTrade(Trade trade) {
		this.trade = trade;
	}

	public String getTrackingNumber() {
		return trackingNumber;
	}

	public void setTrackingNumber(String trackingNumber) {
		this.trackingNumber = trackingNumber;
	}
	
	@Override
	public String toString() {
		return "OrderCloseNotify [logisticsOrderCode=" + logisticsOrderCode + ", carrierCode=" + carrierCode
				+ ", transportCode=" + transportCode + ", trade=" + trade + ", trackingNumber=" + trackingNumber
				+ ", remark=" + remark + "]";
	}
    
    
    
    
}
